package com.icloud.wallet.boot.vo;


import com.icloud.common.core.constant.ValidateConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@ApiModel("发送红包返回参数")
@Data
public class RedPacketVo {
    @ApiModelProperty("客户Id")
    @NotNull(message= ValidateConstant.NOT_NULL)
    private Long customerId;
    @ApiModelProperty("客户昵称")
    @NotEmpty(message= ValidateConstant.NOT_EMPTY)
    private String nickname;
    @ApiModelProperty(value = "收发红包金额")
    private BigDecimal transportAmount;
    @ApiModelProperty(value = "红包创建时间")
    private LocalDateTime createdAt;
}
